import httpFetch from "share/httpFetch";
import errorMessage from "share/errorMessage";

export default {
  //获取 账套、法人、公司 数据
  getAllData(params) {
    return httpFetch.get(`/api/company/legalentity/setofbook/term`, params).catch((err) => {
      errorMessage(err.response);
    });
  },
};
